local SoldiersBase = require("app.actor.SoldiersBase")

local pangzi = class("pangzi",SoldiersBase)

function pangzi:ctor(data)
    print("pangzi:ctor")
    pangzi.super.ctor(self,data)

--    self._property = { hp = 500 ,speed = 30 , hatred = 100 , radius = 25 , weight = 500}
--    self._property = {type = 1 ,att = 1 , range = 5 ,speed = 100  }                           --攻击： type 攻击类型 ,att = 攻击力 , range = 攻击距离 ,speed = 攻击速度  

end

function pangzi:CreateSprite()
    pangzi.super.CreateSprite(self)
    self.Sprite2 = display.newSprite("UI/actor/pangzi.png")
    self.Sprite2:scale(self._property.radius/40)    
    self.Sprite2:addTo(self)
end

return pangzi
